import { http } from '@/utils/request'

const venueTypeRouteURL = '/api/venueType'

export function apiFindVenueType(params) {
    return http.get(venueTypeRouteURL, params)
}

export function apiCreateVenueType(data) {
    return http.post(venueTypeRouteURL, data )
}

export function apiUpdateVenueType(data) {
    return http.put(venueTypeRouteURL, data)
}

export function apiDeleteVenueType(params) {
    return http.delete(venueTypeRouteURL+`/${params}`)
}
